package com.jeomo.mem.provider.request;

import com.jeomo.common.core.request.BaseRequest;

import javax.validation.constraints.*;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 积分有效期选项配置
 *
 * @author:Jackpot
 * @create 2020-12-08 12:07
 * @description:
 */
public class PointsValidityReq extends BaseRequest {

    /** 兑换积分截止日(天)*/
    private Integer convertDeadline;

    @NotBlank
    private String option;
    /** 积分有效期(天)*/
    private Integer expireDays;
    /** 有效期:年份类型*/
    private Integer yearType;
    /** 有效期:失效时间(只取月和日)*/
    private LocalDate expireDate;


    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public Integer getExpireDays() {
        return expireDays;
    }

    public void setExpireDays(Integer expireDays) {
        this.expireDays = expireDays;
    }

    public Integer getYearType() {
        return yearType;
    }

    public void setYearType(Integer yearType) {
        this.yearType = yearType;
    }

    public LocalDate getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(LocalDate expireDate) {
        this.expireDate = expireDate;
    }

    public Integer getConvertDeadline() {
        return convertDeadline;
    }

    public void setConvertDeadline(Integer convertDeadline) {
        this.convertDeadline = convertDeadline;
    }
}
